export const tableConfig = {
  columnList: [
    { prop: 'name', label: '名称', 'min-width': '180' },
    { prop: 'type', label: '级别', width: '100' },
    { prop: 'url', label: '菜单url', 'min-width': '180' },
    { prop: 'permission', label: '按钮权限', 'min-width': '180' },
    {
      prop: 'createAt',
      label: '创建时间',
      'min-width': '250',
      slotName: 'createT'
    },
    {
      prop: 'updateAt',
      label: '更新时间',
      'min-width': '250',
      slotName: 'updateT'
    },
    { prop: 'hand', label: '操作', width: '180', slotName: 'hand' }
  ],
  showIndexColumn: false,
  title: '菜单列表',
  treeMenuConfig: {
    rowKey: 'id',
    treeProps: 'children'
  }
}
